<?php
abstract class MagicTree_Abstract implements MagicTree_Interface
{
	private $_map;
	
	public function __get($item)
	{
		return $this->_map[$item];
	}
	
	public function __set($item, $value)
	{
		$this->_map[$item] = $value;
	}
	
	public function get($item)
	{
		return $this->_map[$item];
	}
	
	public function set($item, $value)
	{
		$this->_map[$item] = $value;
	}
}
?>